﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using SureKAM.BackUp.Notify.Common;

namespace SureKAM.BackUp.Common.Test
{
    public class MailCommonFixture
    {
        private MailCommon _mailCommon;

        [TestFixtureSetUp]
        public  void  TestFixtureSetUp()
        {
            _mailCommon = new MailCommon("smtp.126.com", 25, "wuhonggd@126.com", "jiling@surekam.com", "您的帐号已开通!", "XXX........................", "wuhonggd", "3632332");
        }

        [Test]
        public void SendTest()
        {
            bool send=this._mailCommon.send();
            Assert.IsTrue(send);
        }
    }
}
